/* 
 * File: TouchHandler
 * Created: 13-JUN-2011
 * Author: Colin Gall-McDaid
 * 
 * Description: A TouchHandler interface used to register the handler with the
 * view. This allows for both single and multi-touch handlers to be created depending
 * on whether the Android device supports it or not.
 */
package com.gallsoft.games.framework.impl;

import java.util.List;

import com.gallsoft.games.framework.Input.TouchEvent;

import android.view.View.OnTouchListener;


public interface TouchHandler extends OnTouchListener {

    public boolean isTouchDown(int pointer);
    
    public int getTouchX(int pointer);
    
    public int getTouchY(int pointer);
    
    public List<TouchEvent> getTouchEvents();
}
